<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ include file="/page/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="refresh" content="10">
<%@ include file="/adapter/adapter-bootstrap.jsp" %>
<style>
	.body-box{width:99%;margin:0px auto;margin-right:auto;}
	.rhead{border:#b4cfcf 1px solid;padding:5px 15px;margin-top:5px;}
	.rpos{float:left;padding:3px 0px 3px 20px;background:url(${ctx}/res/sys/img/admin/arrow.gif) center left no-repeat;}
	.clear{clear:both;}
</style>
</head>
<body>
	<div class="body-box">
		<div class="rhead">
			<div class="rpos">应用下载与激活监控 &nbsp;&nbsp;</div>
			<div class="clear"></div>
		</div>		
<macms:table dataListName="abiList" pageMode="false">
	<macms:text id="app_id" label="应用编号" align="center"></macms:text>
	<macms:text id="app_name" label="应用名称" align="center"></macms:text>
	<macms:text id="app_version_id" label="应用版本" align="center"></macms:text>
	<macms:text id="app_version_date" label="版本日期" align="center"></macms:text>
	<macms:text id="ios_count" label="IOS激活量" align="center"></macms:text>
	<macms:text id="andriod_count" label="ANDRIOD激活量" align="center"></macms:text>
</macms:table>
	
		<div class="rhead">
			<div class="rpos">交易日志监控（最近10条）&nbsp;&nbsp;</div>
			<div class="clear"></div>
		</div>	
		
<macms:table dataListName="atlList" pageMode="false">
	<macms:text id="trade_serial_no" label="交易流水号" align="center"></macms:text>
	<macms:text id="start_time" label="交易时间" align="center"></macms:text>
	<macms:text id="trade_code" label="交易代码" align="center"></macms:text>
	<macms:text id="trade_name" label="交易名称" align="center"></macms:text>
	<macms:text id="trade_result" label="交易结果" align="center" dictname="APP_TRADE_RESULT"></macms:text>
	<macms:text id="cost_time" label="执行耗时(秒)" align="center"></macms:text>
	<macms:text id="client_ip" label="客户端IP" align="center"></macms:text>
</macms:table>
	</div>
	<script language="javascript">
	    var preRow = null;
		$('tbody tr').bind('click', function() {
	
			var rowIndex = $(this).prevAll().length+1;
			if(rowIndex <1) return;
			
			if(preRow != null){
				preRow.removeClass("active");
			}
			$(this).addClass("active");
			preRow = $(this);
			
			// 行单击后事件(传入行号，应用ID,应用名称信息)
			//rowClickAfter(rowIndex,
			//		$(this).find("td").eq(1).text(),
			//		$(this).find("td").eq(2).text());
		});
	</script>	
</body>
</html>